const path = require('path')

module.exports = {
    entry: './src/index.js',   //输入
    output: {                  //输出 名字&路径
        filename: "bundle.js",
        path: path.resolve(__dirname, 'dist')
    }
}